﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using RBS.Common.JsonEntity;

namespace RBS.Web.API.Areas.Order.Controllers
{
    public class CancelController : ApiController
    { 
        /// <summary>
        /// 取消订单
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public JsonData Get(int oid,int uid)
        {
            var jsondata = new JsonData();
            //UID 接口 后续验证用到 
            jsondata.Success=new RBS.Core.BLL.D_Order().UpdateOrderStatus(oid, 3);
            return jsondata;
        } 
    }
}
